﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="manager_taskdept_Default" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>部门任务</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder" runat="Server">
    <section class="content-header">
        <h1>部门任务
            <small>任务相关</small>
        </h1>
        <ol class="breadcrumb">
            <li><a><i class="fa fa-dashboard"></i>主页</a></li>
            <li><a href="userManager.aspx">执行任务</a></li>
            <li class="active">任务相关</li>
        </ol>
    </section>

    <section class="content">

        <div class="box box-primary">
            <div class="box-header with-border">
                <h3 class="box-title">执行任务</h3>
            </div>
            <div role="tabpanel" class="tab-pane active" id="task1">
                <div class="box-body">
                    <table id="Listask1" class="table table-bordered table-striped">
                        <thead>
                            <tr>
                                <th></th>
                                <th>状态</th>
                                <th>标题</th>
                                <th>判定</th>
                                <th>分值</th>
                                <th>考核</th>
                                <th>得分</th>
                            </tr>
                        </thead>
                        <tbody>
                            <asp:Repeater ID="rpt_Listask1" runat="server">
                                <ItemTemplate>
                                    <tr>
                                        <td><%# Eval("id") %></td>
                                        <td class="col-sm-1"><%# SQ_Eval_Pub.GetTaskStateAndTaskState(Eval("state").ToString(),Eval("task_state").ToString()) %></td>
                                        <td class="col-sm-6"><%#SQ_Eval_Pub.Get_LX_TYPE(Eval("LX_TYPE").ToString())+ Eval("title") %></td>
                                        <td class="col-sm-1"><%# SQ_Eval_Pub.Get_LX_FD(Eval("LX_fd").ToString()) %></td>
                                        <td class="col-sm-1"><%# Eval("fz") %></td>
                                        <td class="col-sm-1"><%# Eval("Ry_Kh_Mc") %></td>
                                        <td class="col-sm-1"><b><%# Eval("S_FZ") %></b></td>
                                    </tr>
                                </ItemTemplate>
                            </asp:Repeater>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </section>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptPlaceHolder" runat="Server">
    <script>
        $(document).ready(function () {
            $("#Listask1").DataTable(
                {
                    "columnDefs": [
                        { "targets": [0], "visible": false }
                    ],
                    "autoWidth": true,
                    "ordering": false,
                    "scroll": true,
                    "language": {
                        "url": "/reference/plugins/datatables/Chinese.json"
                    }
                });
        });
    </script>
</asp:Content>




